package events.settings
{
	import flash.events.Event;
	
	import models.vos.accounts.PhoneNumber;
	
	import views.components.setting.SinglePhoneInput;

	public class PhoneNumberEvent extends Event
	{
		public static const REMOVE_PHONE_INPUT:String = "PhoneNumberEvent_RemovePhoneInput";
		public static const DELETE_PHONE_ADDRESS:String = "PhoneNumberEvent_RemovePhoneNumber";
		public static const SET_AS_MAIN:String = "PhoneNumberEvent_SetAsMain";
		
		public var phoneInput:SinglePhoneInput;
		public var phoneNumber:PhoneNumber;
		public function PhoneNumberEvent(type:String, phoneNumber:PhoneNumber, phoneInput:SinglePhoneInput = null)
		{
			super(type, true, false);
			this.phoneNumber = phoneNumber;
			this.phoneInput = phoneInput;
		}
		
	}
}